package com.apop.accompanyH5.home.service;

import com.apop.accompanyH5.home.domain.entity.Hospital;
import com.apop.common.model.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JiayiZheng
 * @since 2024-10-07
 */
public interface HospitalService extends IService<Hospital> {

    /**
     * 根据id查询
     * @param id
     * @return
     */
    Hospital getHospitalById(Integer id);

    PageResult getHospitalList(Integer pageNo, Integer pageSize);

}
